package com.booter.zookeeper.listener;

import java.util.List;

/**
 * @author admin
 */
public interface ChildListener {

    /**
     * 节点变化后的回调
     *
     * @param path
     * @param children
     * @param event    CHILD_ADDED CHILD_REMOVED CHILD_UPDATED
     */
    void childChanged(String path, List<String> children, String event);

}